package com.data.structure.node;

import java.util.LinkedHashMap;
import java.util.Map;

/**
 * 描述:
 *
 * @author luzhongfu
 * Created by lucky on 2021-11-30 3:23 PM
 */
public class LinkedHashMapMapDemo {

    public static void main(String[] args) {
        LinkedHashMap<Integer, Object> objectObjectLinkedHashMap = new LinkedHashMap<>();

        objectObjectLinkedHashMap.put(1,1);
        objectObjectLinkedHashMap.put(2,2);
        objectObjectLinkedHashMap.put(3,3);
        Map.Entry<Integer, Object> next = objectObjectLinkedHashMap.entrySet().iterator().next();

        Object value = next.getValue();

        System.out.println(value);
    }
}
